import Vue from 'vue';
import App from './App.vue';
import router from './router/index.js'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '../src/assets/css/bootstrap.css'

import * as API from '@/api'
import VueSession from 'vue-session'

import VueWechatTitle from 'vue-wechat-title'
Vue.use(VueWechatTitle)

Vue.use(VueSession);
Vue.use(ElementUI);

new Vue({
  beforeCreate(){
    Vue.prototype.$API = API;
  },
  render: h => h(App),
  router
}).$mount('#app');